package com.wjc.train.common.exception;

/**
 * @author Guessed
 */

public enum BusinessExceptionCode {

    USER_LOGIN_NAME_EXIST("登录名已存在"),
    USER_MOBILE_EXIST("该手机号已存在"),
    USER_MOBILE_NOT_EXIST("该手机号不存在"),
    LOGIN_USER_ERROR("用户名不存在或密码错误"),
    MEMBER_MOBILE_CODE_ERROR("验证码错误或已过期"),
    VOTE_REPEAT("您已点赞过"),
    PARAM_ERROR("参数校验失败"),
    GET_CONFIRM_ORDER_LOCK_FAIL("当前抢票人数过多，请稍后重试"),
    CONFIRM_ORDER_FLOW_EXP("当前抢票过火，请稍后重试"),
    CONFIRM_ORDER_SK_EXP("令牌校验失败,请稍后重试"),
    CONFIRM_ORDER_FAIL_EXP("抢票失败,请稍后重试"),
    CONFIRM_ORDER_SK_FRE("当前用户请求过于频繁，请稍后再试!"),
    ;

    private String desc;

    BusinessExceptionCode(String desc) {
        this.desc = desc;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}

